GPP=g++-4.4
OUTFILE="myhooks.so"

COMPILE_FLAGS=-m32 -c -fPIC -O3 -I../ -fvisibility=hidden

all:
	$(GPP) $(COMPILE_FLAGS) ../SDK/*.cpp
	$(GPP) $(COMPILE_FLAGS)  *.cpp
	$(GPP) -m32 -O -fshort-wchar -shared -o $(OUTFILE)  *.o
	rm *.o

